package com.example.badyloans.dao;

import com.example.badyloans.pojo.TRepaymentDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TRepaymentDetailMapper {
    int deleteByPrimaryKey(String id);

    int insertSelective(TRepaymentDetail record);

    TRepaymentDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TRepaymentDetail record);

    List<TRepaymentDetail> selectByPrimaryKey1(@Param("userId") String userId, @Param("currentPageNo")Integer currentPageNo,
                                               @Param("pageSize")Integer pageSize);

    int count(String userId);
}